﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EITSurferInfinityLib
{
    public delegate void PositionReachedEvent(object sender,EventArgs e);
    public delegate void StoppedEvent(object sender, EventArgs e);
    public delegate void CirclesStartedEvent(object sender, EventArgs e);
    public delegate void CirclesDoneEvent(object sender, EventArgs e);
    public delegate void ObjectOutOfWaterEvent(object sender, EventArgs e);

    public interface IRobotArm
    {
        void GoTo(double x, double y, double z);
        void Circle(double x, double y, double z, double radius, double speed, double rotation);
        void TakeObjectOutOfWater();
        void Stop();

        event PositionReachedEvent OnPositionReached;
        event StoppedEvent OnStopped;
        event CirclesStartedEvent OnCirclesStarted;
        event CirclesDoneEvent OnCirclesDone;
        event ObjectOutOfWaterEvent OnObjectOutOfWater;
    }
}
